package com.kang.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kang.entity.SysRole;
import com.kang.vo.SysRoleQueryVo;

import java.util.List;

public interface SysRoleService extends IService<SysRole> {

    List<SysRole> findAll();

    Integer removeRole(Long id);

    IPage<SysRole> findQueryRole(Long page, Long limit, SysRoleQueryVo sysRoleQueryVo);

    Integer saveRole(SysRole sysRole);

    Integer updateRole(SysRole sysRole);

    Integer batchDeleteRole(List<String> ids);

    SysRole getRoleById(Long id);
}
